package com.zhentao.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @TableName app_user_info
 */
@ApiModel(description = "用户信息表")
@TableName(value ="app_user_info")
@Data
public class AppUserInfo implements Serializable {
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID", position = 1)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 帐号ID
     */
    @ApiModelProperty(value = "帐号ID", position = 2)
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别", position = 3)
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄", position = 4)
    @TableField(value = "age")
    private Integer age;

    /**
     * 体重
     */
    @ApiModelProperty(value = "体重", position = 5)
    @TableField(value = "weight")
    private Integer weight;

    /**
     * 星座
     */
    @ApiModelProperty(value = "星座", position = 6)
    @TableField(value = "constellation")
    private String constellation;

    /**
     * 生肖
     */
    @ApiModelProperty(value = "生肖", position = 7)
    @TableField(value = "zodiac")
    private String zodiac;

    /**
     * 学校
     */
    @ApiModelProperty(value = "学校", position = 8)
    @TableField(value = "school")
    private String school;

    /**
     * 学历
     */
    @ApiModelProperty(value = "学历", position = 9)
    @TableField(value = "degree")
    private Integer degree;
    /**
     * 是否是会员
     */
    @TableField(value = "is_member")
    private Integer isMember;

    /**
     * 其他
     */
    @ApiModelProperty(value = "其他", position = 10)
    @TableField(value = "other")
    private String other;

    /**
     * 居住地址
     */
    @ApiModelProperty(value = "居住地址", position = 11)
    @TableField(value = "address")
    private String address;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 注册时间
     */
    @ApiModelProperty(value = "注册时间", position = 12)
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", position = 13)
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 真是姓名
     */
    @ApiModelProperty(value = "真实姓名", position = 14)
    @TableField(value = "real_name")
    private String realName;
    /**
     * 出生日期
     */
    @ApiModelProperty(value = "出生日期", position = 15)
    @TableField(value = "date_of_birth")
    private String dateOfBirth;
    /**
     * 个人简介
     */
    @ApiModelProperty(value = "个人简介", position = 16)
    @TableField(value = "descripation")
    private String descripation;
    /**
     * 职业信息
     */
    @ApiModelProperty(value = "职业信息", position = 17)
    @TableField(value = "occupation")
    private String occupation;

    /**
     * 排序
     */
    @ApiModelProperty(hidden = true , position = 18)
    @TableField(value = "order_by")
    private Integer orderBy;


//    @TableField(value = "last_login_ip")
//    private String lastLoginIp;
//
//
//    @TableField(value = "last_login_time")
//    private Date lastLoginTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}